export const salePlatform = [
  {
    label: '全部',
    value: 3
  },
  {
    label: '代理中心',
    value: 2
  },
  {
    label: '品牌商城',
    value: 1
  },
  {
    label: '小程序',
    value: 4
  }
]

export const saleStatus = [
  {
    label: '全部',
    value: 0
  },
  {
    label: '在售',
    value: 1
  },
  {
    label: '下架',
    value: 2
  }
]

export const columns = [
  {
    dataIndex: 'goods_id',
    title: '商品ID'
  },
  {
    dataIndex: 'name',
    title: '商品名称'
  },
  {
    dataIndex: 'brand_name',
    title: '品牌名称'
  },
  {
    dataIndex: 'category_name',
    title: '分类名称'
  },
  {
    dataIndex: 'cover_Image',
    title: '封面图',
    scopedSlots: { customRender: 'cover' }
  }
]

export const sizeColumns = [
  {
    dataIndex: 'goods_size_id',
    title: '规格ID'
  },
  {
    dataIndex: 'size_name',
    title: '规格ID'
  },
  {
    dataIndex: 'sales',
    title: '已售'
  },
  {
    dataIndex: 'stock',
    title: '库存'
  }
]
